Change Detection Based Parallelism Mapping: Exploiting Offline Models and Online Adaptation
نویسندگان
چکیده
Parallel programs increasingly execute in highly dynamic environments where mapping program parallelism to dynamically varying system resources is challenging. Traditional offline compiler approaches exploit program knowledge but ignore the runtime environment. Online runtime approaches dynamically adapt to resources but ignore program structure. Furthermore, there is no mechanism to detect and improve the efficiency of these approaches during program execution. This paper develops a new runtime mapping approach based on online change detection. It models runtime scheduling of threads as a Markov Decision Process and exploits an offline trained model to predict the best thread mapping based on both code and environment features. It then develops a novel approach where the accuracy of an environment predictor is used as a measure of the model quality, adjusting thread mapping over time. On evaluating our scheme with varying external workloads and hardware availability, we achieve an average speedup improvement of 2.14x over the default OpenMP policy, 1.58x over an online approach and 1.32x over a state-of-the-art offline trained model.
منابع مشابه
An Eecient Multiprocessor Mapping Algorithmfor the Kohonen Feature Map and Its Derivative Models Contents 1 Introduction 1 2 Computational Parallelism in the Kohonen Model 1 3 Homogenous Multi-processor Architecture 2
This paper explores the potential for utilising specialised hardware for the implementation of the Kohonen model and its derivative models. The adaptation periods of these algorithms is potentially protracted and computationally expensive; especially for the Adaptive Kohonen model in real-world, on-line applications. This paper analyses these models and highlights inherent parallelism. This ana...
متن کاملAdaptive parallelism mapping in dynamic environments using machine learning
Modern day hardware platforms are parallel and diverse, ranging from mobiles to data centers. Mainstream parallel applications execute in the same system competing for resources. This resource contention may lead to drastic degradation in a program’s performance. In addition, the execution environment composed of workloads and hardware resources, is dynamic and unpredictable. Efficient matching...
متن کاملA tool for automated design of language models
An interactive software tool for design and performance analysis of language models (LMs) is described. The tool obviates on-line simulation of the recognition system in which the LM is to employed. By exploiting parallels with signal detection theory, a pro le of the LM is given in an receiveroperating-characteristic-like (ROC) display.
متن کاملOnline Speaker Adaptation of an Acoustic Model Using Face Recognition
We have proposed and evaluated a novel approach for online speaker adaptation of an acoustic model based on face recognition. Instead of traditionally used audio-based speaker identification we investigated the video modality for the task of speaker detection. A simulated on-line transcription created by a Large-Vocabulary Continuous Speech Recognition (LVCSR) system for online subtitling is ev...
متن کاملExploiting Emotions in Social Interactions to Detect Online Social Communities
The rapid development of Web 2.0 allows people to be involved in online interactions more easily than before and facilitates the formation of virtual communities. Online communities exert influence on their members’ online and offline behaviors. Therefore, they are of increasing interest to researchers and business managers. Most virtual community studies consider subjects in the same Web appli...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014